home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / BARNET / ARMLINUX / MAIL / 9806 / text0125.txt < prev    next >
Encoding:
Text File  |  1998-06-30  |  1.0 KB  |  26 lines

  1. Matthew Wilcox wrote:
  2. > > ===> main
  3. > > gcc -c  -I../os/unix -I../include   -DLINUX=2 -D__arm -DUSE_HSREGEX
  4. > > http_config.c
  5. > > http_config.c:271: parse error before `module'
  6. > Well, based on a quick look at the code in question, line 271 uses
  7. > XtOffset.  This isn't a function I'm aware of, so I do
  8. > `find . -type f |xargs grep XtOffset |less'.  I discover it's defined in
  9. > include/conf.h.  So look through that... ah, there it is.  For some
  10. > reason, if __arm is defined, it defines it to be _Offsetof(...) which
  11. > I can't find defined anywhere.  I recommend you todge the Makefile and
  12. > remove the -D__arm from it; maybe it'll work then?
  13.  
  14. Nope; makes no difference. It didn't originally *have* the __arm flag
  15. in; I added it in after looking through conf.h and finding the #ifdef
  16. __arm. Made no difference at all. Bleargh.
  17.  
  18. Sam
  19. -- 
  20. Home page: http://www.illuminated.co.uk/
  21. INWO Homebrew: http://www.illuminated.co.uk/inwo/
  22. Not my employer's opinion, no snappy quote
  23. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
  24.  
  25.